home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form BEditform
- BackColor = &H00FFFFFF&
- BorderStyle = 1 'Fixed Single
- ClientHeight = 3285
- ClientLeft = 1290
- ClientTop = 1425
- ClientWidth = 6765
- ControlBox = 0 'False
- Height = 3690
- Left = 1230
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 13.688
- ScaleMode = 4 'Character
- ScaleWidth = 56.375
- Top = 1080
- Width = 6885
- Begin CommandButton Command3
- Caption = "Cancel"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 375
- Left = 4920
- TabIndex = 3
- Top = 2760
- Width = 1095
- End
- Begin CommandButton Command2
- Caption = "Clear"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 375
- Left = 2880
- TabIndex = 2
- Tag = " Re-Enter Location Prior To Admission"
- Top = 2760
- Width = 1095
- End
- Begin CommandButton Command1
- Caption = "Enter"
- Default = -1 'True
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 375
- Left = 720
- TabIndex = 1
- Top = 2760
- Width = 1095
- End
- Begin VBedit BEdit1
- CellHeight = 5
- CellWidth = 4
- CharSet = 16655
- CombBaseLine = 2
- CombEndHeight = 1.6
- CombEndMarker = 0 'False
- CombHeight = 1.1
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 18
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 855
- InflateBottom = 0.75
- InflateLeft = 1.5
- InflateRight = 1.5
- InflateTop = 1
- Left = 120
- TabIndex = 0
- Top = 1320
- Version = 268435458
- Width = 6615
- End
- Begin Label Label1
- Alignment = 2 'Center
- Caption = "Label1"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 12
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 855
- Left = 840
- TabIndex = 4
- Tag = "Enter Location Prior To Admission"
- Top = 0
- Width = 5055
- End
- Dim newload As Integer
- Sub Command1_Click ()
- Select Case label1.tag
- Case " Enter Location Prior To Admission"
- If Bedit1.text = "" Then
- assess1.option3d4(5).caption = "OTHER"
- Else
- assess1.option3d4(5).caption = UCase$(Bedit1.text)
- End If
- Unload BEditform
- Case " Enter Other Injuries And Marks"
- If Bedit1.text = "" Then
- assess3.Check1.caption = " O=Other"
- Else
- assess3.Check1.caption = UCase$(Mid$(Bedit1.text, 1, 1)) + "=" + UCase$(Mid$(Bedit1.text, 1, 1)) + LCase$(Mid$(Bedit1.text, 2))
- End If
- Unload BEditform
- End Select
- End Sub
- Sub Command1_GotFocus ()
- If newload Then
- BEditform.label1.caption = BEditform.label1.tag
- newload = 0
- End If
- End Sub
- Sub Command2_Click ()
- Bedit1.text = ""
- label1.caption = command2.tag
- End Sub
- Sub Command3_Click ()
- Unload BEditform
- End Sub
- Sub Form_Load ()
- newload = -1
- BEditform.Move (screen.width - BEditform.width) / 2, (screen.height - BEditform.height) / 1.8
- Bedit1.text = ""
- label1.caption = label1.tag
- End Sub
-